
	<!-- Begin of Sidebar -->
    <aside id="sidebar">
    	
    	<!-- Search -->
    	<div id="search-bar">
			<form id="search-form" name="search-form" action="search.php" method="post">
				<input type="text" id="query" name="query" value="" autocomplete="off" placeholder="Search">
			</form>
		</div> <!--! end of #search-bar -->
		
		<!-- Begin of #login-details -->
		<section id="login-details">
    		<img class="img-left framed" src="<?php echo $this->config->item('images')?>/misc/avatar_small.png" alt="Hello Admin">
    		<h3>Logged in as</h3>
    		<h2><a class="user-button" href="javascript:void(0);"><?php echo $this->session->userdata['username'];?>&nbsp;<span class="arrow-link-down"></span></a></h2>
    		<ul class="dropdown-username-menu">
    			<li><a href="#">Profile</a></li>
    			<li><a href="#">Settings</a></li>
    			<li><a href="#">Messages</a></li>
    			<li><a href="#">Logout</a></li>
    		</ul>
    		
    		<div class="clearfix"></div>
  		</section> <!--! end of #login-details -->
    	
    	<!-- Begin of Navigation -->
    	<nav id="nav">
	    	<ul class="menu collapsible shadow-bottom">
	    		<li>
	    			<a href="javascript:void(0);" class="current"><img src="<?php echo $this->config->item('images')?>/icons/packs/fugue/16x16/lock.png">Admin Spot<span class="badge red">7</span></a>
	    			<ul class="sub">
	    				<li><a href="<?php echo site_url('admin/user/')?>"><img src="<?php echo $this->config->item('images')?>/icons/packs/fugue/16x16/user-business.png">Users</a></li>
	    				<li><a href="<?php echo site_url('admin/role/')?>"><img src="<?php echo $this->config->item('images')?>/icons/packs/fugue/16x16/paper-plane.png">Roles</a></li>
	    				<li><a href="<?php echo site_url('admin/permission/')?>"><img src="<?php echo $this->config->item('images')?>/icons/packs/fugue/16x16/robot.png">Permistions</a></li>
	    				<li><a href="<?php echo site_url('')?>"><img src="<?php echo $this->config->item('images')?>/icons/packs/fugue/16x16/system-monitor.png">System Settings</a></li>
	    				<li><a href="javascript:void(0);"><img src="<?php echo $this->config->item('images')?>/icons/packs/fugue/16x16/eraser.png">Dublication Records</a></li>
	    				<li><a href="javascript:void(0);"><img src="<?php echo $this->config->item('images')?>/icons/packs/fugue/16x16/speaker-volume-control.png">Deleted Records</a></li>
	    				<li><a href="<?php echo site_url('admin/log')?>"><img src="<?php echo $this->config->item('images')?>/icons/packs/fugue/16x16/report.png">Log Files</a></li>
	    			</ul>
	    		</li>
	    		<li>
	    			<a href="javascript:void(0);" class="current"><img src="<?php echo $this->config->item('images')?>/icons/packs/fugue/16x16/user-white.png">Overview<span class="badge red">5</span></a>
	    			<ul class="sub">
	    				<li><a href="<?php echo site_url('company/')?>"><img src="<?php echo $this->config->item('images')?>/icons/packs/fugue/16x16/luggage.png">Companies</a></li>
	    				<li><a href="<?php echo site_url('contact/')?>"><img src="<?php echo $this->config->item('images')?>/icons/packs/fugue/16x16/users.png">Contacts</a></li>
	    				<li><a href="<?php echo site_url('flag/')?>"><img src="<?php echo $this->config->item('images')?>/icons/packs/fugue/16x16/flag.png">Flags</a></li>
	    				<li><a href="<?php echo site_url('previous_event/')?>"><img src="<?php echo $this->config->item('images')?>/icons/packs/fugue/16x16/book-open-list.png">Previous Events</a></li>
	    				<li><a href="javascript:void(0);"><img src="<?php echo $this->config->item('images')?>/icons/packs/fugue/16x16/candle.png">Contacts Titles</a></li>
	    			</ul>
	    		</li>
	    		<li>
	    			<a href="javascript:void(0);"><img src="<?php echo $this->config->item('images')?>/icons/packs/fugue/16x16/magnifier.png">Search<span class="badge red">2</span></a>
					<ul class="sub">
						<li><a href="<?php echo site_url('search/company')?>"><img src="<?php echo $this->config->item('images')?>/icons/packs/fugue/16x16/magnifier.png">Search Companies</a></li>
						<li><a href="<?php echo site_url('search/contact')?>"><img src="<?php echo $this->config->item('images')?>/icons/packs/fugue/16x16/magnifier.png">Search Contacts</a></li>
					</ul>
	    		</li>

				<li>
					<a href="javascript:void(0);"><img src="<?php echo $this->config->item('images')?>/icons/packs/fugue/16x16/mail.png">Email Settings<span class="badge red">2</span></a>
					<ul class="sub">
						<li><a href="<?php echo site_url('mail/setting')?>">Setting</a></li>
						<li><a href="<?php echo site_url('mail/template')?>">Templates</a></li>
					</ul>
				</li>	    		
	    		
	    	</ul>
    	</nav> <!--! end of #nav -->
    	
    </aside> <!--! end of #sidebar -->
    
